
 
 F u n c t i o n :   f l o w s T o ( d o m E l e m e n t O r C S S S e l e c t o r ,   t a r g e t - d o m E l e m e n t O r C S S S e l e c t o r ) 
 
 
 
 D e s c r i p t i o n :   S e t s   u p   a n   a c c e s s i b l e   f l o w - t o   r e l a t i o n s h i p   f r o m   o n e   e l e m e n t   t o   a n o t h e r . 
 
 
 
 R e t u r n s :   O r i g i n a l   O b j e c t ,   o r   $ A   o b j e c t   i f   c h a i n e d . 
 
 
 
 N o t e :   T h e   f l o w s T o ( )   f u n c t i o n   w i l l   a u t o m a t i c a l l y   c o n f i g u r e   a   v a l i d   A R I A   f l o w T o   r e l a t i o n s h i p ,   e v e n   i f   t h e   t a r g e t   e l e m e n t   d o e s   n o t   i n c l u d e   a n   i d .   I t   w i l l   a u t o m a t i c a l l y   m a n a g e   t h e   a r i a - c o n t r o l s   a n d   a r i a - f l o w t o   a t t r i b u t e s   a c c o r d i n g l y .   F o r   a n   e x a m p l e   o f   t h i s   f u n c t i o n a l i t y   i n   a c t i o n ,   v i e w   t h e   F o o t n o t e   m o d u l e   t e m p l a t e . 
 
 
 
 E x a m p l e : 
 
 
 
 $ A . f l o w s T o ( d o m E l e m e n t ,   d o m E l e m e n t T o F l o w T o ) ; 
 
 
 
 $ A . f l o w s T o ( " # s k i p - l i n k - i d " ,   " # f o o t n o t e - i d " ) ; 
 
 
 
 / /   O r   t h e   s a m e   u s i n g   c h a i n i n g 
 
 
 
 $ A ( d o m E l e m e n t ) . f l o w s T o ( d o m E l e m e n t T o F l o w T o ) ; 
 
 
 
 $ A ( " # s k i p - l i n k - i d " ) . f l o w s T o ( " # f o o t n o t e - i d " ) ; 
 
 